package sample.service;

import sample.dao.IAnotherDao;

public class AnotherServiceImpl implements IAnotherService {

	private IAnotherDao anotherDao;
	
	public IAnotherDao getAnotherDao() {
		return anotherDao;
	}

	public void setAnotherDao(IAnotherDao anotherDao) {
		this.anotherDao = anotherDao;
	}

	public void anotherServiceMethod() {
		System.out.println("inside another service method >>>>>>>");		
		getAnotherDao().anotherDaoMethod();
	}

}
